package com.yl.chainStore.services

import com.yl.chainStore.common.enums.TypeEnum
import com.yl.chainStore.entity.user.CompanyUserOperationLog
import com.yl.common.control.ResponseBody

interface ICompanyUserOperationLogService {



	/**
	 * 添加日志
	 * @param beforeObj 修改前对象
	 * @param afterObj 修改后对象
	 *
	 */
	fun addLog(
		associatedId:Long,
		modelType:TypeEnum,
		tableType:TypeEnum,
		updateType:TypeEnum,
		beforeObj:Any?,
		afterObj:Any?,
		customerId:Long?,
		createUserId:Long?
		):ResponseBody

	/**
	 * 添加日志
	 */
	fun addLog(
		userLog: CompanyUserOperationLog,
		beforeObj:Any?,
		afterObj:Any?
	):ResponseBody



	/**
	 * 添加日志
	 * @param log 日志
	 */
	fun addLog(userLog: CompanyUserOperationLog):ResponseBody
}
